package com.chaos.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chaos.auth.entity.SelfOauth2RegisteredClient;
import org.apache.ibatis.annotations.Select;

/**
 * @author jacky
 * @since 2025-04-21
 */
public interface Oauth2RegisteredClientMapper extends BaseMapper<SelfOauth2RegisteredClient> {
    // 根据client_id，查询客户端信息
    @Select("select * from oauth2_registered_client where client_id = #{client_id}")
    SelfOauth2RegisteredClient selectByClientId(String client_id);

}
